<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>login page</title>
<s:head/>
</head>
<body>
<center>
	<s:fielderror/>
	<s:form action="login" method="post">
       <s:textfield name="account" label="用户名" value="王健林"/>
       <s:password name="password" label="密码" value="xxxx" maxlength="30"/>
       <s:submit name="submit" value="提交"/>
	</s:form>
	
	<!-- validate="true"表示客户端校验 -->
	<s:form action="register"><!-- validate="true"> -->
		<table width="60%" height="76" border="0">
			<!-- 各标签定义 -->
			<s:textfield name="account" label="用户名"/>
			<s:password name="password" label="密  码" />
			<s:password name="repassword" label="密 码确认" />
			<s:textfield name="birthday" label="生日"/>
			<s:textfield name="mobile" label="手机号码"/>
			<s:textfield name="age" label="年龄"/>
			<s:textfield name="email" label="电子邮件"/>
			<s:submit value="注册" align="center"/>				
		</table>
	</s:form>
</center>
</body>
</html>